package com.sea.physical.service;

import com.sea.physical.entity.Record;

import java.util.List;

/**
 * 海运状态记录SERVICE层
 */
public interface RecordService {

    /**
     * 新增状态记录
     * @param record
     * @return
     */
    int save(Record record);

    /**
     * 查询发运计划记录
     * @param record
     * @return
     */
    List<Record> findByCreateId(Record record);

    /**
     * 新增
     * @param recordCreateId
     * @param recordStatus
     * @param recordText
     * @param recordOperateDate
     * @return
     */
    int save(Integer recordCreateId,
             Integer recordStatus,
             String recordText,
             String recordOperateDate);
}
